package com.shop.front.feign;

import com.shop.common.entity.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @author ghy
 * @version 1.0
 * @date 2020-11-02
 */
@FeignClient("shop-user-service")
public interface LoginFeign {

    @RequestMapping(value = "/login/name")
    CommonResult name(@CookieValue(name = "login_token", required = false) String token);

}